package com.frame;

public class App_Context {

	 private static App_Context Instance = null;
	 private String config = "MCJ008 Lession 1";
	 private int visit = 0;
	 
	    private App_Context()
	    {

	    }
	    
	    public static synchronized App_Context Get_Instance()
	    {
	        if (Instance == null)
	        {
	            Instance = new App_Context();
	        }

	        return Instance;
	    }
	    
	    public String Get_Config()
	    {
	        return this.config;
	    }
	    
	    public int getVisit() {
	    	this.visit++;
	    	return this.visit;
	    }
}
